Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

HELP! Generic Macros Using @{selected|} for DnD NEXT

Hello and thank you for taking this time to view my post. My problem is I am having trouble getting the token selected macros to work from the Wiki. I have a completed character sheet linked to a character token and am trying to use universal @{selected|} macros. I select the token and this is what I get; No attribute was found for @{selected|DEX Mod} , and it proceeds to roll out the d20 with no modifier. /em rolls some dice. Initiative [[1d20 + @{selected|DEX Mod} [Dexterity Mod] &{tracker}]] Strength Check /em rolls some dice. Strength Check [Std | Advantage/Disadvantage] [[1d20 + @{selected|STR Mod} [Strength Mod] ]] | [[1d20 + @{selected|STR Mod} [Strength Mod] ]] for all of the selected "checks" it prompt's the error message No attribute was found for @{selected|STR Mod}
1421374884

Edited 1421375017
vÍnce
Pro
Sheet Author
Hi Joshua. I think you need a "-" between the attribute's words, ie "STR-mod"... The error you are seeing is saying it can't find the attribute you are looking for. That's my guess. Also, be careful with "universal" macros. Their logic is sound, but each character sheet uses uniquely named macros. Sometimes(often) you have to change the attribute names to match your sheet. Have fun.
Figured it out thank you Vince, i had to change it from STR mod to Strength_mod, thank you for opening my eyes to the specific character sheet!
1421387851
vÍnce
Pro
Sheet Author
Glad you got it working Joshua. It's usually the simplest of things isn't it?